<?php

class LoginForm extends AppModel{
	var $name = 'LoginForm';
	var $useTable = false;
	
	var $validate = array(
		'password' => array(
            'alphaNumeric' => array(
                'rule' => 'alphaNumeric',
                'required' => true,
                'allowEmpty' => false,
                'message' => Messages::password_must_be_alphabet_or_numeric
            ),  
        ),
       'email'=> array(
            'email' => array(
                'rule' => 'email',
                'required' => true,
                'message' => Messages::invalid_email_address
            ),
        ),
	);
	
}
?>
